@layout("/common/_form.html",{js:["/assets/tBasicMaterial/tBasicMaterial_edit.js"]}){

<form class="layui-form" id="tBasicMaterialForm" lay-filter="tBasicMaterialForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="id" type="hidden"/>
<!--                    <div class="layui-inline layui-col-md12">-->
<!--                        <label class="layui-form-label">企业id<span style="color: red;">*</span></label>-->
<!--                        <div class="layui-input-block">-->
<!--                            <input id="companyId" name="companyId" placeholder="请输入企业id" type="text" class="layui-input" lay-verify="required" required/>-->
<!--                        </div>-->
<!--                    </div>-->
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="materialName" name="materialName" placeholder="请输入名称" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">最大使用量<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="maximumUsage" name="maximumUsage" placeholder="请输入最大使用量" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">年份<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="yearss" name="yearss" placeholder="请输入年份" onkeyup="value=value.replace(/^(0+)|[^\d.]+/g,'')" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">第一季度使用量<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="firstSeason" name="firstSeason" placeholder="请输入第一季度使用量" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">第二季度使用量<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="secondSeason" name="secondSeason" placeholder="请输入第二季度使用量" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">第三季度使用量<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="thirdSeason" name="thirdSeason" placeholder="请输入第三季度使用量" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">第四季度使用量<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="fourthSeason" name="fourthSeason" placeholder="请输入第四季度使用量" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
<!--                    <div class="layui-inline layui-col-md12">-->
<!--                        <label class="layui-form-label">2020年使用量<span style="color: red;">*</span></label>-->
<!--                        <div class="layui-input-block">-->
<!--                            <input id="mUsage" name="mUsage" placeholder="请输入2020年使用量" type="text" class="layui-input" lay-verify="required" required/>-->
<!--                        </div>-->
<!--                    </div>-->
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">成分<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="ingredient" name="ingredient" placeholder="请输入成分" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">占比<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="percentage" name="percentage" placeholder="请输入占比" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12" >
                        <label class="layui-form-label">涉VOCs原辅料MSDS<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="msds" name="msds" type="hidden" class="layui-input"/>
                            <button type="button" class="layui-btn layui-btn-sm" id="msdsClick"><i class="layui-icon"></i>选择图片</button>
                            <div class="layui-upload-list">
                                <img class="layui-upload-img" id="msdsImg" width="92px" height="92px">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}